package com.twu.biblioteca;

/**
 * Created with IntelliJ IDEA.
 * User: dbelsey
 * Date: 30/01/13
 * Time: 16:10
 */
public abstract class MenuItem {
    private String menuItemText;

    public MenuItem(String menuItemText){
        this.menuItemText = menuItemText;

    }

    public abstract String runMenuItem(BibliotecaAppData bibliotecaAppData, IOHandler io);

    public String toString(){
        return menuItemText;
    }
}
